﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elev.API.DouBan
{
    /// <summary>
    /// 电影模型
    /// </summary>
    public class Movies
    {
        /// <summary>
        /// 条目id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 中文名
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 原名
        /// </summary>
        public string original_title { get; set; }
        /// <summary>
        /// 又名
        /// </summary>
        public List<string> aka { get; set; }
        /// <summary>
        /// 条目页URL
        /// </summary>
        public string alt { get; set; }
        /// <summary>
        /// 移动版条目页URL
        /// </summary>
        public string mobile_url { get; set; }
        /// <summary>
        /// 评分
        /// </summary>
        public Rating rating { get; set; }
        /// <summary>
        /// 评分人数
        /// </summary>
        public int ratings_count { get; set; }
        /// <summary>
        /// 想看人数
        /// </summary>
        public int wish_count { get; set; }
        /// <summary>
        /// 看过人数
        /// </summary>
        public int collect_count { get; set; }
        /// <summary>
        /// 在看人数，如果是电视剧，默认值为0，如果是电影值为null
        /// </summary>
        public string do_count { get; set; }
        /// <summary>
        /// 电影海报图，分别提供288px x 465px(大)，96px x 155px(中) 64px x 103px(小)尺寸
        /// </summary>
        public Images images { get; set; }
        /// <summary>
        /// 条目分类, movie或者tv
        /// </summary>
        public string subtype { get; set; }
        /// <summary>
        /// 导演，数据结构为影人的简化描述
        /// </summary>
        public List<DirectorsItem> directors { get; set; }
        /// <summary>
        /// 主演，最多可获得4个，数据结构为影人的简化描述
        /// </summary>
        public List<CastsItem> casts { get; set; }
        /// <summary>
        /// 编剧，数据结构为影人的简化描述
        /// </summary>
        public List<DirectorsItem> writers { get; set; }
        /// <summary>
        /// 官方网站
        /// </summary>
        public string website { get; set; }
        /// <summary>
        /// 豆瓣小站
        /// </summary>
        public string douban_site { get; set; }
        /// <summary>
        /// 如果条目类型是电影则为上映日期，如果是电视剧则为首Ï日期
        /// </summary>
        public List<string> pubdates { get; set; }
        /// <summary>
        /// 大陆上映日期，如果条目类型是电影则为上映日期，如果是电视剧则为首播日期
        /// </summary>
        public string mainland_pubdate { get; set; }
        /// <summary>
        /// 年代
        /// </summary>
        public string year { get; set; }
        /// <summary>
        /// 语言
        /// </summary>
        public List<string> languages { get; set; }
        /// <summary>
        /// 片长
        /// </summary>
        public List<string> durations { get; set; }
        /// <summary>
        /// 影片类型，最多提供3个
        /// </summary>
        public List<string> genres { get; set; }
        /// <summary>
        /// 制片国家/地区
        /// </summary>
        public List<string> countries { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string summary { get; set; }
        /// <summary>
        /// 短评数量
        /// </summary>
        public int comments_count { get; set; }
        /// <summary>
        /// 影评数量
        /// </summary>
        public int reviews_count { get; set; }
        /// <summary>
        /// 总季数(tv only)
        /// </summary>
        public string seasons_count { get; set; }
        /// <summary>
        /// 当前季数(tv only)
        /// </summary>
        public string current_season { get; set; }
        /// <summary>
        /// 当前季的集数(tv only)
        /// </summary>
        public string episodes_count { get; set; }
        /// <summary>
        /// 影讯页URL(movie only)
        /// </summary>
        public string schedule_url { get; set; }
        /// <summary>
        /// 预告片URL，对高级用户以上开放，最多开放4个地址
        /// </summary>
        public List<string> trailer_urls { get; set; }
        /// <summary>
        /// 片段URL，对高级用户以上开放，最多开放4个地址
        /// </summary>
        public List<string> clip_urls { get; set; }
        /// <summary>
        /// 花絮URL，对高级用户以上开放，最多开放4个地址
        /// </summary>
        public List<string> blooper_urls { get; set; }
        /// <summary>
        /// 电影剧照，前10张
        /// </summary>
        public List<string> photos { get; set; }
        /// <summary>
        /// 影评，前10条，影评结构
        /// </summary>
        public List<string> popular_reviews { get; set; }
        /// <summary>
        /// 豆瓣地址
        /// </summary>
        public string share_url { get; set; }
    }
}
